package com.expressage.po;

/**
 * @author zl
 * 用户类
 */

public class User {
    /*
     * 用户id
     */
    private int uid;

    /*
     * 用户姓名
     */
    private String name;

    /*
     * 用户密码
     */
    private String pass;

    /*
     * 性别
     */
    private String sex;

    /*
     * 角色id
     */
    private int rid;

    /*
     * 电话
     */
    private String tel;

    /*
     * 市
     */
    private int cityid;

    /*
     * 区
     */
    private int areaid;

    /*
     * 街道
     */
    private int streetid;

    /*
     * 详细地址
     */
    private String address;

    /*
     * 用户身份证号码
     */
    private String card;

    public User() {
        super();
    }

    public User(int uid, String name, String pass, String sex, int rid, String tel, int cityid, int areaid, int streetid, String address, String card) {
        this.uid = uid;
        this.name = name;
        this.pass = pass;
        this.sex = sex;
        this.rid = rid;
        this.tel = tel;
        this.cityid = cityid;
        this.areaid = areaid;
        this.streetid = streetid;
        this.address = address;
        this.card = card;
    }

    public User(String name, String pass, String sex, String tel, int cityid, int areaid, int streetid, String address, String card) {
        this.name = name;
        this.pass = pass;
        this.sex = sex;
        this.tel = tel;
        this.cityid = cityid;
        this.areaid = areaid;
        this.streetid = streetid;
        this.address = address;
        this.card = card;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public int getCityid() {
        return cityid;
    }

    public void setCityid(int cityid) {
        this.cityid = cityid;
    }

    public int getAreaid() {
        return areaid;
    }

    public void setAreaid(int areaid) {
        this.areaid = areaid;
    }

    public int getStreetid() {
        return streetid;
    }

    public void setStreetid(int streetid) {
        this.streetid = streetid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }
}
